<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function func1(a, b, c) {
            let res=Object.prototype.toString.call(arguments);
            let res1=typeof arguments;

            console.log('res',res);
            console.log('res1',res1);
            console.log(arguments[0]);
            // expected output: 1

            console.log(arguments[1]);
            // expected output: 2

            console.log(arguments[2]);
            // expected output: 3
        }

        func1(1, 2, 3);

    </script>
</body>

</html>